package ui.panel {

	import ui.panel.warriorLevelups.WarriorInfo;
	import ui.panel.warriorLevelups.WarriorLevelUpNeed;
	
	public class WarriorLevelUpPanel extends BasePanel {
		
		private var prevInfo:WarriorInfo;
		private var nextInfo:WarriorInfo;
		private var need:WarriorLevelUpNeed;
		
		public function WarriorLevelUpPanel() {
			super();
			pid = PanelType.WARRIOR_LEVELUP_PANEL;
		}
		
		override protected function initUI():void {
			super.initUI();
			
			prevInfo = new WarriorInfo();
			prevInfo.x = 50;
			prevInfo.y = 50;
			addChild(prevInfo);
			
			need = new WarriorLevelUpNeed();
			need.x = 150;
			need.y = 50;
			addChild(need);
			
			nextInfo = new WarriorInfo();
			nextInfo.x = 350;
			nextInfo.y = 50;
			addChild(nextInfo);
		}
	}
}